package cn.itzzx.lagou.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * TODO
 *
 * @author Martin
 * @since 1.0
 */
@FeignClient(value = "lagou-service-user",path = "user")
public interface UserFeignClientService {

    @PostMapping("info/{token}")
    public String info(@PathVariable("token")String token);
}
